github.com/gotd/td/internal/mtproto.Conn.log (field)
35 uses
github.com/gotd/td/internal/mtproto (current package)
ack.go#L13: log := c.log.Named("ack")
ack.go#L20: c.log.Error("Failed to ACK", zap.Error(err))
conn.go#L66: log *zap.Logger
conn.go#L128: log: opt.Logger,
conn.go#L172: c.log.Debug("Closing")
conn.go#L178: c.log.Debug("Failed to cleanup connection", zap.Error(err))
conn.go#L198: c.log.Debug("Run: start")
conn.go#L199: defer c.log.Debug("Run: end")
conn.go#L205: g := tdsync.NewLogGroup(ctx, c.log.Named("group"))
connect.go#L32: c.log.Info("Generating new auth key")
connect.go#L38: c.log.Info("Auth key generated",
connect.go#L44: c.log.Info("Key already exists")
connect.go#L49: c.log.Debug("Generating new session id")
connect.go#L65: if ce := c.log.Check(zap.DebugLevel, "Initializing new key exchange"); ce != nil {
connect.go#L78: WithLogger(c.log.Named("exchange")).
handle_ack.go#L17: c.log.Debug("Received ack", zap.Int64s("msg_ids", ack.MsgIDs))
handle_future_salts.go#L23: c.log.Debug("Got future salts", zap.Time("server_time", serverTime))
handle_result.go#L53: c.log.Debug("Got error", msgID,
handle_session_created.go#L21: c.log.Debug("Session created",
handle_session_created.go#L28: c.log.Warn("Local clock needs synchronization",
new_encrypted_msg.go#L21: log = c.log
ping.go#L43: c.log.Debug("Pong")
read.go#L76: c.log.Warn("Ignoring rejected message", zap.Error(err))
read.go#L86: c.log.Warn("Error while handling message", zap.Error(err))
read.go#L108: c.log.Debug("No updates")
read.go#L121: c.log.Warn("BUG: zero session id found")
read.go#L123: c.log.Warn("Re-generating keys (server not found key that we provided)")
read.go#L127: c.log.Info("Re-created auth keys")
read.go#L134: log := c.log.Named("read")
rpc.go#L26: log := c.log.With(
rpc.go#L36: c.log.Debug("Setting server salt")
rpc.go#L41: c.log.Info("Retrying request after basMsgErr", zap.Int64("msg_id", req.MsgID))
salt.go#L21: c.log.Info("Salt updated", zap.Int64("old", oldSalt), zap.Int64("new", salt))
zap.go#L34: return c.log
zap.go#L41: return c.log.With(zap.Inline(logType{
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |